/*
 * TextFieldConstants.java
 *
 * Created on June 4, 2007, 11:32 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package info.javatech.jmf.common.components;

import javax.microedition.lcdui.TextField;

/**
 *
 * @author afedotov
 */
public interface TextFieldConstants {
    String LABEL_PROPERTY_NAME = "label";
    String STRING_PROPERTY_NAME = "string";
    String MAXIMUMSIZE_PROPERTY_NAME = "maximumSize";
    String CONSTRAINS_PROPERTY_NAME = "constrains";
    String INITIALINPUTMODE_PROPERTY_NAME = "initialInputMode";
    String PREFFEREDHSIZE_PROPERTY_NAME = "prefferedHSize";
    String PREFFEREDVSIZE_PROPERTY_NAME = "prefferedVSize";
    String DEFAULTCOMMAND_PROPERTY_NAME = "defaultCommand";
    
    String TYPE_NAME = "jmf.textField";
    
    int ISPASSWORD = TextField.PASSWORD;
    int ISUNEDITABLE = TextField.UNEDITABLE;
    int ISSENSITIVE = TextField.SENSITIVE;
    int ISNONPREDICTIVE = TextField.NON_PREDICTIVE;
    int ISINITIALCAPSWORD = TextField.INITIAL_CAPS_WORD;
    int ISINITIALCAPSSENTENSE = TextField.INITIAL_CAPS_SENTENCE;
    
    int ANY_TYPE = TextField.ANY;
    int NUMERIC_TYPE = TextField.NUMERIC;
    int EMAIL_TYPE = TextField.EMAILADDR;
    int PHONE_TYPE = TextField.PHONENUMBER;
    int URL_TYPE = TextField.URL;
    int DECIMAIL_TYPE = TextField.DECIMAL;
}
